package com.xqy.mapper;

import com.xqy.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface UserMapper {
    User select(User user);
    void insert(User user);
    int del(Integer userId);
    int update(User user);
    Integer selectCountByUserName(String userName);
    User selectByUserId(Integer userId);
    List<User> queryList();
}